The basic commands used for MySQL cluster configuration and the real-time operation process,
1. Check whether you should use a MySQL cluster.
Reduce the pressure on the data center nodes and process large data volumes. MySQL is distributed and one
Change the root user password for MySQL 1, first access the database[[email protected] ~]# /usr/local/mysql/bin/mysql -urootWelcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 2Server version: 5.6.36 MySQL Community
This article mainly introduces the installation of MySQL and the basic management commands and settings, which are the basis for building the MySQL environment. For more information, see
Install MySQLInstall Mysql on Linux/UNIXOn Linux, we recommend
First, change the root user password for MySQL 1, to enter the database[[email protected] ~]# /usr/local/mysql/bin/mysql -urootWelcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 2Server version: 5.6.36 MySQL
first, start and close1.1 Linux command to start MySQL:
A. RPM Package Installation: Service mysqld start
B. Source package Installation:/usr/local/mysql/bin/mysqld_safe--user=mysql &
1.2 Linux to restart MySQL command:
This article mainly introduces the use of basic commands in the MySQL Cluster configuration process. The example of two node connections is provided in the real-time recording. For more information, see the following.
1. check whether you should use
Basic MySQL commands and basic mysql commands
SQL
Statement
Mysql version: For mysql-5.6.36 version1.1 Common commands
# View database mysql> show databases; show databases like '% pres %'; # fuzzy query # View table mysql> use xzymysql> show
MySQL InstallationInstall MySQL on Linux/unixThe Linux platform recommends the use of the RPM package to install Mysql,mysql AB provides the following RPM package download address:
Mysql-mysql server. You need this option unless you only want
The following articles mainly describe the basic MySQL commands. We will divide them into five parts to describe them in detail. It can be said that each part is very important, the following is a description of the basic MySQL commands.
MySQL basic
First, start and stop the MySQL Service
Net stop MySQL
Net start MySQL
Second, log on to MySQL
Syntax: mysql-u user name-P User Password
Enter the mysql-uroot-p command, press enter and prompt you to enter the password, enter 12345, and then press
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.